import {
	defineStore
} from 'pinia'
export const useMainStore = defineStore('main', {
	state: () => {
		return {
			fastList: [],
			mainList: [],
			riskOperations: [],
			showTip: false,
			overlay: false
		};
	},
	actions: {
		getFast(item) {
			this.fastList.push(item)
		},
		deleteFast(item) {
			this.fastList.splice(item, 1)
		},
	},
	unistorage: true
})